package com.luyuan.crm.question.service;

import java.util.List;

import org.hibernate.criterion.Order;

import com.luyuan.crm.question.model.QuestionExtend;
import com.ruijie.foundation.annotation.DomainService;
import com.ruijie.foundation.query.Page;
import com.ruijie.foundation.query.criteria.CriteriaTemplate;

@DomainService
public interface QuestionExtendService {
    /*
     * 分页查询
     */
    public Page pagedQuery(CriteriaTemplate criteria, int pageNo, int pageSize, List<Order> orders);

    public void removeById(int id);

    public void updateQuestionExtend(QuestionExtend extend);

    public void saveQuestionExtend(QuestionExtend extend);

    public void refresh(QuestionExtend extend);

    public QuestionExtend getById(int id);
}
